package com.iakuil.mvp.mp.dao.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.iakuil.mvp.mp.common.domain.BaseEntity;
import lombok.*;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_mp_userinfo")
public class MpUserInfo extends BaseEntity {
    @TableId(value = "openid")
    private String openId;
    private String nickName;
    private Integer gender;
    private String city;
    private String province;
    private String country;
    private String avatarUrl;
    private String unionId;
    /***
     * 手机号码，此字段来自解密手机号码接口
     */
    private String phoneNumber;
}